#ifndef BCKDROP_H
#define BCKDROP_H
#include "Object.h"
#include "Factory.h"

class BackDrop : public Object
{
private:
	void MakeSprites();
	sf::Sprite Backdrop1;
	sf::Sprite Backdrop2;
	float backdropWidth;
	sf::Vector2f backDrop1Pos;
	sf::Vector2f backDrop2Pos;
	float backDropScale = 1.0f;
	const char* imageFilename;

public:
	BackDrop(const char* fileName = "images/Scene.png")
	{
		imageFilename = fileName;
		MakeSprites();
		isCollidable = false;
		isPhysical = false;
		Factory::AddObject(this);
	}

	void Render(sf::RenderWindow* window);
	void Update(float deltaT);
};

#endif // BCKDROP_H